package com.repair.project.service.impl;

import com.repair.project.entity.Student;
import com.repair.project.entity.Worker;
import com.repair.project.mapper.WorkerMapper;
import com.repair.project.service.WorkerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hz
 * @since 2021-01-12
 */
@Service
public class WorkerServiceImpl extends ServiceImpl<WorkerMapper, Worker> implements WorkerService {

    @Autowired
    WorkerMapper workerMapper;
    @Override
    public List<Map<String,Object>> getWorkerList(Integer stuid, String name, String statu) {
        return workerMapper.getWokerList(stuid,name,statu);
    }
}
